<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <style type="text/css">
      #map_canvas { height: 100% }
    </style>
    <script type="text/javascript"
      src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDPmO8YvX2NrnUd6dA6FjDHIu3qFc96l2g&sensor=FALSE">
    </script>
    <script type="text/javascript">
    var myLatlng = new google.maps.LatLng(37.623834, 126.928359);
    $(document).ready(function() {
    	
    	var windowwidth = $(window).width(); 
    	 $('#map_canvas').css('width', windowwidth);
    	 $('#map_canvas').css('height', windowwidth);
    	var marker = new google.maps.Marker({
    	    position: myLatlng,
    	    title:"Sunny 골프 연습장"
    	});
      function initialize() {
        var mapOptions = {
          center: myLatlng,
          zoom: 18,
          mapTypeId: google.maps.MapTypeId.ROADMAP
        };
        var map = new google.maps.Map(document.getElementById("map_canvas"),
            mapOptions);
        
    	// To add the marker to the map, call setMap();
    	marker.setMap(map);
      }
      initialize();
      
      


      });
    </script>
  </head>
  <body>
    <div id="map_canvas" style="width:800px; height:800px"></div>
  </body>
</html>
